package com.midea.ai.air.ui.home.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.midea.ai.air.R;
import com.midea.ai.air.common.BaseFragment;

/**
 * Created by ouyangdi on 2016/4/22.
 * 连接网络Fragment
 */
public class AddDeviceConnectWifiFragment extends BaseFragment {
    private RelativeLayout mSelectHotspot;
    private EditText mInputPassword;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_add_device_connect_wifi, container, false);
        initViews(view);
        return view;
    }

    private void initViews(View view) {
        mSelectHotspot = (RelativeLayout)view.findViewById(R.id.layout_select_hotspot);
        mSelectHotspot.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
        mInputPassword = (EditText) view.findViewById(R.id.input_wifi_password);
    }
}
